package ${package};

import com.baomidou.mybatisplus.extension.service.IService;
<#if isMulti>
import com.github.yulichang.base.MPJBaseService;
import com.github.yulichang.extension.mapping.base.MPJDeepService;
</#if>
import com.xjrsoft.module.${outputArea}.entity.${entityClass};
import lombok.Data;
import java.util.List;

/**
* @title: ${tableComment}
* @Author ${author}
* @Date: ${date}
* @Version 1.0
*/
<#assign extendsCode = "IService<${entityClass}>">
<#if isMulti>
<#assign extendsCode = "MPJBaseService<${entityClass}>, MPJDeepService<${entityClass}>">
</#if>
public interface I${className}Service extends ${extendsCode} {
<#if isMulti>
    /**
    * 新增
    *
    * @param ${entityClass?uncap_first}
    * @return
    */
    Boolean add(${entityClass} ${entityClass?uncap_first});

    /**
    * 更新
    *
    * @param ${entityClass?uncap_first}
    * @return
    */
    Boolean update(${entityClass} ${entityClass?uncap_first});

    /**
    * 删除
    *
    * @param ids
    * @return
    */
    Boolean delete(List<${pkType}> ids);
</#if>
}
